﻿/*----------------------------------------------------------------
 * 
 * 版权所有：Copyright (C) 2013
 * 
 * 文件名：FileUploadHandler.cs
 * 文件功能描述：
 * 
 * 
 * 作 者：zhangq
 * 邮 箱：ifunnyface@outlook.com
 * 日 期：2013-03-08 14:21:36
 * 
 * 
 * 修改标识： Author
 * 修改描述： 相关描述
 * 
 * ---------------------------------------------------------------- */

using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WebPlatform
{

    /// <summary>
    /// 
    /// </summary>
    public class FileUploadHandler
    {

        /// <summary>
        /// 
        /// </summary>
        public FileUploadHandler()
        {
            // TODO:
            extable = new Hashtable();
            extable.Add("image", "gif,jpg,jpeg,png,bmp");
            extable.Add("flash", "swf,flv");
            extable.Add("media", "swf,flv,mp3,mp4,wav,wma,wmv,mid,avi,mpg,asf,rm,rmvb");
            extable.Add("file", "doc,docx,xls,xlsx,ppt,htm,html,txt,zip,rar,gz,bz2");
            extable.Add("onlinefile", "pdf,gif,jpeg,png");
        }



        
        private Hashtable extable;



    }

}